home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / utility / freedos.zip / COM050.ZIP / ENVIRON.C < prev    next >
C/C++ Source or Header  |  1996-01-17  |  600b  |  31 lines

  1. /* 
  2.  *  ENVIRON.C - enviroment handling.
  3.  *
  4.  *
  5.  *
  6.  *  Comments:
  7.  *
  8.  *  01/14/94 (Tim Norman) ---------------------------------------------------
  9.  *    started.
  10.  *
  11.  *  08/08/95 (Matt Rains) ---------------------------------------------------
  12.  *    i have cleaned up the source code. changes now bring this source into
  13.  *    guidelines for recommended programming practice.
  14.  *
  15.  */
  16.  
  17. #include <stdlib.h>
  18. #include <stdio.h>
  19.  
  20. void show_environment(void)
  21. {
  22.    unsigned char count;
  23.  
  24.    for(count = 0; environ[count]; count++)
  25.    {
  26.       puts(environ[count]);
  27.    }
  28.  
  29.    return;
  30. }
  31.